package com.hqyj.springCloudTest.service;


import com.github.pagehelper.PageInfo;
import com.hqyj.entity.common.ResultEntity;
import com.hqyj.entity.common.SearchBean;
import com.hqyj.entity.test.City;
import java.util.List;


public interface CityService {

    ResultEntity<City> insertCity(City city);

    ResultEntity<City> updateCity(City city);

    ResultEntity<Object> deleteCity(int cityId);

    City getCityByCityId(int cityId);

    List<City> getCityByCountryId(int countryId);

    PageInfo<City> getCityBySearchBean(SearchBean searchBean);
}
